/*
 * @Description: 
 * @Author: xuechengwu
 * @Email: 516385822@qq.com
 * @Date: 2022-02-09 09:57:24
 * @LastEditTime: 2022-02-09 16:02:14
 * @LastEditors: xuechengwu
 */
import Text from './component.vue';
import A5 from '../../A5';
import TextEditor from './configView/TextEditor.vue';
A5.registerComponent('xue-b-text', Text, {
    title: '文本',
    isContainer: false,
    canSelect: true,
    display: 'inline-block',
    getProps: () => ({
        text: 'hello world'
    }),
    events: {
        click: {
            name: '点击事件',
            funcs: []
        },
    },
    configView: [{
        title: '设置',
        view: TextEditor,
        slots: [{
            name: 'text-link',
            path: 'data.text',
        }],
    }],
});